<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>注册页面</title>
    
  </head>
  
  <body>
    <div align="center">
    	 <form action="${pageContext.request.contextPath }/servlet/RegisterServlet" method="post"> 
    	<!--<form action="${pageContext.request.contextPath }/servlet/RegisterUIServlet" method="post">-->
    	<table>
    		<tr>
    			<td>登录帐号：</td>
    			<td>
    				<input type="text" name="username" value="${form.username }">
    				<span>${form.errors.username }</span>
    			</td>
    		</tr>
    		<tr>
    			<td>密码：</td>
    			<td>
    				<input type="password" name="password" value="${form.password }">
    				<span>${form.errors.password }</span>
    			</td>
    		</tr>
    		<tr>
    			<td>重复密码：</td>
    			<td>
    				<input type="password" name ="password2" value="${form.password2 }">
    				<span>${form.errors.password2 }</span>
    			</td>
    		</tr>
    		<tr>
    			<td>电子邮箱：</td>
    			<td>
    				<input type="text" name="email" value="${form.email }">
    				<span>${form.errors.email }</span>
    			</td>
    		</tr>
    		<tr>
    			<td>生日：</td>
    			<td>
    				<input type="text" name="birthday" value="${form.birthday }">
    				<span>${form.errors.birthday }</span>
    			</td>
    		</tr>
    		<tr>
    			<td>您的昵称：</td>
    			<td>
    				<input type="text" name="nickname" value="${form.nickname }">
    				<span>${form.errors.nickname }</span>
    			</td>
    		</tr>
    		<tr>
    			<td><input type="reset" value="重置"></td>
    			<td><input type="submit" value="注册"></td>
    		</tr>
    	</table>
    </form>
    </div>
  </body>
</html>
